package com.cuitrip.app.rong.model;

/**
 * Created by ak on 15/11/11.
 */
public class RongMessageModel {

    //参见http://192.168.0.170:8081/wiki/index.php/DialogType
    public static int SYSTEM_MSG = 0;
    public static int TEXT_MSG = 1;
    public static int IMAGE_MSG = 2;
    public static int VOICE_MSG = 3;
    public static int LOCATION_MSG = 4;
    public static int IMAGE_TEXT_MSG = 5;
    public static int NOTICE_MSG = 6;
    public static int NOT_SUPPORT_MSG = 7;

    private String userType;

    private String timeStamp;

    private int sendCount;

    private boolean isSuccess;

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }

    public int getSendCount() {
        return sendCount;
    }

    public void setSendCount(int sendCount) {
        this.sendCount = sendCount;
    }

    public void increaseSendCount(){
        ++sendCount;
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(boolean isSuccess) {
        this.isSuccess = isSuccess;
    }
}
